package edu.sctu.zhangwang.month201505.day20150517;

/**
 * Created by user10 on 2015/5/17.
 */
public class NoteOne {
    private String name;
    private int age;
    private Note com;

    public NoteOne(String name,int age,Note com){
        this.name = name;
        this.age = age;
        this.com = com;
    }
    public String getname(){
        return name;
    }

    public void setCom(Note note){
        this.com = com;
    }

    public Note getCom(){
        return com;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }
}
